<?php

abstract class Module extends Ctrl {
    
    protected $_name;
    
    function __construct($req, $timeMach, $pdio) {
        
        $mdao = new ModulesDao($pdio);
        if (!$mdao->isInstalled($this->_name)) {
            throw new  FWerrorException("module ".$this->_name." not installed");
            
        }
        
        parent::__construct($req, $timeMach, $pdio) ;
    }
    
}